let config = {
    'queryFields': [],//查询条件  //后台写入
    'buttons': [// 右上角按钮   例如新增/导出   //前端传入

    ],
    queryUrl: '',//列表请求地址
    queryParams: '',
}


let json = { 
    "paramList": [
        { 
            "name": "api_name",
             "data_type": "text",
              "element":
               {
                 "type": "text",
                  "label": "接口名称", 
                  "required": true 
                }
             },
              {
                 "name": "api_path", 
                 "data_type": "text",
                  "element": { 
                    "type": "text", 
                    "label": "接口路径"
                }
             },
              {
                 "name": "api_param",
                  "data_type": "text", 
                  "element": 
                    { 
                        "type": "text", 
                        "label": "接口参数" 
                    }
            },
             {
                 "name": "api_sql", 
                 "data_type": "text", 
                 "element": {
                     "type": "text", 
                     "label": "SQL", 
                     "required": true
                }
            }, 
            {
                 "name": "api_count_sql", 
                 "data_type": "text",
                  "element": {
                     "type": "text", 
                     "label": "Count SQL",
                      "tip": "需要查询SQL配合使用" 
                    }
                 },
                  {
                     "name": "data_source",
                      "data_type": "text", 
                      "element": {
                         "type": "text", 
                         "label": "数据源" 
                        } 
            },
             {
                 "name": "remark",
                  "data_type": "text",
                   "element": { 
                    "type": "text", 
                    "label": "备注" 
            }
         },
        ] 
    }


let json1 = {
    "paramList":
        [
            {"name":"api_name","data_type":"text","element":{"type":"text","label":"接口名称","required":true}},
            {"name":"api_path","data_type":"text","element":{"type":"text","label":"接口路径"}},
            {"name":"api_param","data_type":"text","element":{"type":"text","label":"接口参数"}},
            {"name":"api_sql","data_type":"text","element":{"type":"text","label":"SQL","required":true}},
            {"name":"api_count_sql","data_type":"text","element":{"type":"text","label":"Count SQL","tip":"需要查询SQL配合使用"}},
            {"name":"data_source","data_type":"text","element":{"type":"text","label":"数据源"}},
            {"name":"remark","data_type":"text","element":{"type":"text","label":"备注"}},
        ]
}